package xyz.zyl2020.juc.thread;

/**
 * @author ZhuYinglong
 * @date 2020/10/8 0008
 */
public class ThreadDemo5 {

    public static void main(String[] args) {
        Thread myThread = new Thread(() -> {
        }, "myThread");
        myThread.start();
        // 调用start方法，该线程进入RUNNABLE状态
        System.out.println(myThread.getState());
    }

}
